﻿using System.Windows;
using WowLauncher.Utils;
using WowSuite.Launcher.Config;
using WowSuite.Launcher.Utils;

namespace WowSuite.Launcher
{
    public partial class App : Application
    {
        private async void Application_Startup(object sender, StartupEventArgs e)
        {
            Logger.Current = new FileLogger(
                LocalConfiguration.Instance.Folders.GetPath(WowLauncherFolder.Logs), "WowLauncherLog.txt");

            await LocalConfiguration.Instance.Folders.CheckFoldersAsync();
            Logger.Current.AppendText("Start program");
        }
    }
}
